<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>js基础语法</title>
		
		<script type="text/javascript" >
			// 定义变量
			var myName = "小王";
			alert(myName);
			document.write(myName);
			// js运算符 ++ --
			var i = 0;
			document.write(i++);
			document.write(i)
			
			var j = 0;
			document.write(++j);
			document.write(j)
			
		</script>
	</head>
	<body>
		
	</body>
</html>
